var vm = new Vue({
    el: "#app",
    data: {
        arr: [
            { title: '大型超市外送', price: 6, cond: 8, lq: false },
            { title: '吃货红包', price: 3, cond: 6, lq: false },
            { title: '买药红包', price: 3, cond: 8, lq: false },
            { title: '水果外送红包', price: 7, cond: 10, lq: false },
            { title: '吃货红包', price: 6, cond: 6, lq: false },
            { title: '吃货红包', price: 5, cond: 10, lq: false },
        ]
    },
    methods: {//负责定义函数, 多个函数用逗号分割
        lingqu(item, index) {
            item.lq = true;
            console.log(this.arr);
        }
    }
})